package com.shiguiwu.springmybatis.designpattern.bridge;

/**
 * @description: 农业银行。。。
 * @author: stone
 * @date: Created by 2021/3/5 21:11
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.bridge
 */
public class ABCBank extends Bank {


    public ABCBank(Account account) {
        super(account);
    }

    @Override
    public Account openAccount() {
        System.out.println("打开一个工商银行账户。。。。");
        account.openAccount();
        return account;
    }
}
